package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * TicketNotifyConfig 状态枚举
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/10 20:37
 */
@Getter
@ToString
public enum TicketNotifyConfigStatusEnum {
    /**
     * DISABLED
     */
    DISABLED("DISABLED", 0),
    /**
     * ENABLED
     */
    ENABLED("ENABLED", 1);

    private final String name;

    private final Integer index;

    TicketNotifyConfigStatusEnum(String name, Integer index) {
        this.name = name;
        this.index = index;
    }
}
